package com.ophiux.cs.application.user.dto;

import com.ophiux.cs.application.core.RequestDTO;
import com.ophiux.utils.common.StringUtil;

public class UpdateUserPatientRequest extends RequestDTO {
	private String USER_ID;//	Y	String	用户ID
	private String PATIENT_ID;//	Y	String	患者ID
	private String PATIENT_NAME;//	Y	String	患者姓名
	private String ID_NO;//	N	String	身份证，可以不填
	private String BIRTH_DAY;//	Y	String	出生日期
	private String SEX;//	Y	String	性别
	private String PHONE;//	Y	String	联系电话
	private String ADDRESS;//	Y	String	住址
	private String IS_DEFAULT="0";//	Y	String	1：默认  0：非默认 默认值传0
	private String CERTIFICATE_TYPE;//N	String	证件类型
	private String CERTIFICATE_NO;//N	String 	证件号
	
	@Override
	public boolean isParamValid() {
		if(StringUtil.isEmpty(PATIENT_ID)||StringUtil.isEmpty(USER_ID)||StringUtil.isEmpty(PATIENT_NAME)||StringUtil.isEmpty(BIRTH_DAY)||
				StringUtil.isEmpty(SEX)||StringUtil.isEmpty(PHONE)||StringUtil.isEmpty(ADDRESS)||StringUtil.isEmpty(IS_DEFAULT)) {
			return false;
		}
		return true;
	}

	public String getUSER_ID() {
		return USER_ID;
	}

	public void setUSER_ID(String uSER_ID) {
		USER_ID = uSER_ID;
	}

	public String getPATIENT_NAME() {
		return PATIENT_NAME;
	}

	public void setPATIENT_NAME(String pATIENT_NAME) {
		PATIENT_NAME = pATIENT_NAME;
	}

	public String getID_NO() {
		return ID_NO;
	}

	public void setID_NO(String iD_NO) {
		ID_NO = iD_NO;
	}

	public String getBIRTH_DAY() {
		return BIRTH_DAY;
	}

	public void setBIRTH_DAY(String bIRTH_DAY) {
		BIRTH_DAY = bIRTH_DAY;
	}

	public String getSEX() {
		return SEX;
	}

	public void setSEX(String sEX) {
		SEX = sEX;
	}

	public String getPHONE() {
		return PHONE;
	}

	public void setPHONE(String pHONE) {
		PHONE = pHONE;
	}

	public String getADDRESS() {
		return ADDRESS;
	}

	public void setADDRESS(String aDDRESS) {
		ADDRESS = aDDRESS;
	}

	public String getIS_DEFAULT() {
		return IS_DEFAULT;
	}

	public void setIS_DEFAULT(String iS_DEFAULT) {
		IS_DEFAULT = iS_DEFAULT;
	}

	public String getPATIENT_ID() {
		return PATIENT_ID;
	}

	public void setPATIENT_ID(String pATIENT_ID) {
		PATIENT_ID = pATIENT_ID;
	}

	public String getCERTIFICATE_TYPE() {
		return CERTIFICATE_TYPE;
	}

	public void setCERTIFICATE_TYPE(String cERTIFICATE_TYPE) {
		CERTIFICATE_TYPE = cERTIFICATE_TYPE;
	}

	public String getCERTIFICATE_NO() {
		return CERTIFICATE_NO;
	}

	public void setCERTIFICATE_NO(String cERTIFICATE_NO) {
		CERTIFICATE_NO = cERTIFICATE_NO;
	}

}
